package com.dwxt.community.dao;

import com.dwxt.community.entity.UserActionRecord;
import com.dwxt.community.entity.UserActionRecordExample;
import java.util.List;

import com.dwxt.community.entity.vo.UserActionRecordVo;
import org.apache.ibatis.annotations.Param;

public interface UserActionRecordMapper {
    int countByExample(UserActionRecordExample example);

    int deleteByExample(UserActionRecordExample example);

    int deleteByPrimaryKey(Long recordId);

    int insert(UserActionRecord record);

    int insertSelective(UserActionRecord record);

    List<UserActionRecord> selectByExample(UserActionRecordExample example);

    UserActionRecord selectByPrimaryKey(Long recordId);

    int updateByExampleSelective(@Param("record") UserActionRecord record, @Param("example") UserActionRecordExample example);

    int updateByExample(@Param("record") UserActionRecord record, @Param("example") UserActionRecordExample example);

    int updateByPrimaryKeySelective(UserActionRecord record);

    int updateByPrimaryKey(UserActionRecord record);

    Integer countByCreateTimeAndUserId(@Param("currentUserId") String currentUserId, @Param("modelInfo") String modelInfo);

    List<UserActionRecordVo> countByCreateTime(String date);

    List<UserActionRecordVo> countStrByCreateTime(String date);
}